package com.health.pojo.domain;

import lombok.Data;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 系统操作审计日志实体对象
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("system_logs")
public class SystemLogDO {

    /**
     * 日志ID: 主键自增
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "日志ID: 主键自增")
    private Long logId;

    /**
     * 操作用户ID
     */
    @Schema(description = "操作用户ID")
    private Integer userId;

    /**
     * 操作类型
     */
    @Schema(description = "操作类型")
    private String operationType;

    /**
     * 操作结果
     */
    @Schema(description = "操作结果")
    private String operationResult;

    /**
     * 操作时间
     */
    @Schema(description = "操作时间")
    private Date operationTime;
}
